---
title: Configuration.output()
api: Configuration.output
---

## Description

<Summary/>

<FilterDiagram
  name="output"
  input="Event"
  output="Event"
/>

Without any parameters, an _output_ filter forwards its input events to the nearest [input()](/reference/api/Configuration/input) filter up the parent pipelines.

When given an _Output_ object, an _output_ filter forwards its input events to the _input_ filter that provides the _Output_ object. See [Link back from any sub-pipelines](/reference/api/Configuration/input#link-back-from-any-sub-pipelines) for how an _Output_ object can be obtained from an _input_ filter.

## Syntax

``` js
pipy()
  .pipeline()
  .output()

pipy()
  .pipeline()
  .output(
    () => whereToOutput()
  )
```

## Parameters

<Parameters/>

## See Also

* [Configuration](/reference/api/Configuration)
* [input()](/reference/api/Configuration/input)
